*{
  margin: 0;
  padding: 0;
}
body{
  max-width: 500px;
  height: 60vh;
  overflow: hidden;
  position: relative;
  border: 1px solid red;
  margin: 0 auto;
}
.tank,.enemy{
  width: 16px;
  height: 16px;
  background-color: rgb(66, 218, 104);
  position: relative;
  position: absolute;
  top:calc(100% - 35px);
  left: 0;
  transform: rotate(0);
}
.tank .tube,.enemy .enemy-tube{
  width: 5px;
  height: 30%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -30%;
  background-color: rgb(66, 218, 104);
}
.cannonball{
  width: 3px;
  height: 3px;
  position: absolute;
  background-color: rgb(255, 0, 0);
}
.background{
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  background-color: orange;
}
.background tr{
  width: 100%;
}
.background tr td{
  background-color: #000;
  height: 10px;
  width: 10px;
  border: 3px solid transparent;
}
.background tr .wall{
  background-color: red;
  position: relative;
  border: 3px solid orange;
}
.enemy{
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: aqua;
}
.enemy .enemy-tube{
  background-color: aqua;
  color: transparent;
}
.background tr .base{
  background: rgb(11, 238, 30) ;
}
.background tr .Invincible{
  background: rgb(196, 196, 5) ;
}
.surplus{
  position: relative;
  top: 50px;
}
.surplus span{
  color: red;
  font-size: 20px;
}